<template>
  <div class="empty-container">
    <Icon type="empty"></Icon>
    <p>{{ text }}</p>
  </div>
</template>

<script>
import Icon from '@/components/Icon'
export default {
  props: {
    text: {
      type: String,
      default: '无数据'
    }
  },
  components: {
    Icon
  }
}
</script>

<style lang="less" scoped>
@import "~@/styles/mixin.less";
@import "~@/styles/var.less";
.empty-container {
  .self-center();
  text-align: center;
  color: @words;

  .icon-container {
    font-size: 100px;
    
  }
}
</style>